<include file="Admin@Public:header" />
	<form class="form-horizontal" method="post" role="form">
		<input type="hidden" name="articleid" value="{$articleid}">
		<div class="form-group">
			<label for="title" class="col-sm-2 control-label">标题：</label>
			<div class="col-sm-6">
				<input type="text" class="form-control" name="title" value="{$title}" placeholder="标题">
			</div>
		</div>
		<div class="form-group">
			<label for="inputEmail3" class="col-sm-2 control-label">分类：</label>
			<div class="col-sm-3">
				<select name="cateid" class="form-control">
					<option value="">请选择</option>
					{$option_tree}
				</select>
			</div>
		</div>
		<div class="form-group">
			<label for="photo" class="col-sm-2 control-label">图片：</label>
			<div class="col-sm-5">
				<div class="input-group">
					<input type="text" class="form-control" name="photo" value="{$photo}" placeholder="图片">
					<span class="input-group-btn"><button type="button" class="btn btn-default" data-upload="image">图片上传</button></span>
				</div>
				<div class="help-block">图片上传规格645*645</div>
			</div>
		</div>
		<div class="form-group">
			<label for="inputEmail3" class="col-sm-2 control-label">标签：</label>
			<div class="col-sm-6">
				<input type="text" class="form-control" name="tag" value="{$tag}" placeholder="标签">
				<div class="help-block">多个标签请使用英文空格隔开</div>
			</div>
		</div>
		<div class="form-group">
			<label for="inputEmail3" class="col-sm-2 control-label">访问量：</label>
			<div class="col-sm-6">
				<input type="text" class="form-control" name="count_view" value="{$count_view}" placeholder="标签">
				<div class="help-block">访问量</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">内容：</label>
			<div class="col-sm-8">
				<textarea name="content" id="content" style="height:500px;">{$content}</textarea>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">确认提交</button>
			</div>
		</div>
	</form>
<import file="Static.js.ueditor.ueditor#config,Static.js.ueditor.ueditor#all#min" />
<script type="text/javascript">
	UploadParse();
	$(function(){
		var ue = UE.getEditor('content',{
			toolbars : ueditor.base,
		});
	})
</script>
<include file="Admin@Public:footer" />